import { action, makeObservable, observable } from 'mobx';
import { singleton } from 'tsyringe';

@singleton()
export class Sheet {
  @observable public visible: boolean = false;

  @action public setVisible = (visible: boolean) => {
    this.visible = visible;
  };

  constructor() {
    makeObservable(this);
  }
}
